package ModLayer;
import java.io.*;

/**
 * Abstract class Informations - write a description of the class here
 * 
 * @author (your name here)
 * @version (version number or date here)
 */
public abstract class PersonInformations implements Serializable
{
    private String name;
    private String email;
    private String address;
    private String phoneNo;
    
    public PersonInformations(String name, String email, String address, String phoneNo)
    {
        this.name = name;
        this.email = email;
        this.address = address;
        this.phoneNo = phoneNo;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setPhoneNo(String phoneNo)
    {
        this.phoneNo = phoneNo;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getPhoneNo()
    {
        return phoneNo;
    }
    
    public abstract String toString();
}